﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using CarsModel;
using CarsBll;
using System.Web.Http.Results;
namespace SencondHandCarBuyAndSell1._0.Controllers
{
    public class CarsTypeController : ApiController
    {
        CarsTypeBll bll = new CarsTypeBll();
        public JsonResult< List<CarsType>> GetCarsTypeList(int id)
        {
            return Json<List<CarsType>>( bll.CarsTypeList(id));
        }
    }
}
